package com.simtop.expection;

import java.util.List;

/**
 * @author lvyongwei
 */
public class GlobalException extends RuntimeException{

    private String msg;

    private List<String> data;

    public GlobalException() {
    }

    public GlobalException(String msg) {
        this.msg = msg;
    }

    public GlobalException(String msg, List<String> data) {
        this.msg = msg;
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<String> getData() {
        return data;
    }

    public void setData(List<String> data) {
        this.data = data;
    }
}
